package com.cos.fegin.impl;

import com.cos.fegin.api.UserService;
import com.cos.vo.User;
import lombok.extern.log4j.Log4j;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
@Slf4j
@Component
public class UserServiceImpl implements UserService {
    @Override
    public boolean add(User user) {
        log.error("调用添加用户服务失败!!!");
        return false;
    }

    @Override
    public List<User> getList() {
        log.error("获取用户信息失败了!!!!!");
        return null;
    }

    @Override
    public boolean delete(Integer id) {
        log.error("删除用户失败了!!!!");
        return false;
    }

    @Override
    public boolean datadel(String id) {
        log.error("批量删除用户失败!!!");
        return false;
    }

    @Override
    public List<User> getUserList(User user) {
        log.error("获取用户信息失败!!!");
        return null;
    }

    @Override
    public User toUpdate(Integer id) {
        return null;
    }

    @Override
    public boolean update(User user) {
        log.error("修改失败!!!");
        return false;
    }
}
